package com.atguigu.fruit.dao.impl;

import com.atguigu.fruit.dao.FruitDAO;
import com.atguigu.myssm.basedao.BaseDAO;
import com.atguigu.fruit.pojo.Fruit;

import java.util.List;

public class FruitDAOImpl extends BaseDAO<Fruit> implements FruitDAO {

    @Override
    public List<Fruit> getFruitList() {
        return executeQuery("select * from t_fruit");
    }

    @Override
    public Fruit getFruitByFid(Integer fid) {
        return null;
    }

    @Override
    public void updateFruit(Fruit fruit) {

    }

    @Override
    public void delFruit(Integer fid) {

    }

    @Override
    public void addFruit(Fruit fruit) {

    }
}
